#!/binb/bash

pids=$(ps aux | grep prometheus | grep storage.tsdb | grep -v grep | awk '{print $2}' | xargs)


if [ -n $pids ];then
    kill -9 $pids
else
    echo "prometheus not run"
fi

